<template>
  <div style="overflow: hidden;width:100%;height:100%;" id="xGridParent">
    <vxe-radio-group v-model="selectTab">
      <vxe-radio-button label="tab1" content="缺陷隐患库"></vxe-radio-button>
      <vxe-radio-button label="tab2" content="缺陷库"></vxe-radio-button>
      <vxe-radio-button label="tab3" content="隐患库"></vxe-radio-button>
    </vxe-radio-group>
    <div v-show="selectTab==='tab1'">
      <defectdangerTable></defectdangerTable>
    </div>
    <div v-show="selectTab==='tab2'">
      <defectlibrary></defectlibrary>
    </div>
    <div v-show="selectTab==='tab3'">
      <dangerlibrary></dangerlibrary>
    </div>
  </div>
</template>

<script>
// 巡视消缺库
import defectdangerTable from './components/defectdangerTable.vue'
import defectlibrary from './components/defectlibrary.vue'
import dangerlibrary from './components/dangerlibrary.vue'

export default {
  name: "defectdanger",
  components: {
    defectdangerTable, defectlibrary, dangerlibrary
  },
  data() {
    return {
      selectTab: 'tab1'
    }
  },
  methods: {},
  mounted() {

  },
}
</script>

<style>

</style>

